<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta content="telephone=no" name="format-detection">
    <title>黎世阁-添加地址-编辑</title>
    <link rel="stylesheet" href="../css/public.css"/>
    <link rel="stylesheet" href="../personal.css/addPlace.css"/>
    <script src="../js/jquery.min.js"></script>
    <script type="text/javascript">
    (function (doc, win) {
            var docEl = doc.documentElement,
                resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
                recalc = function () {
                    var clientWidth = docEl.clientWidth;
                    if (!clientWidth) return;

                    docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';

                };
            if (!doc.addEventListener) return;
            win.addEventListener(resizeEvt, recalc, false);
            doc.addEventListener('DOMContentLoaded', recalc, false);
            recalc();
        })(document, window);

    </script>
</head>
<body>
	<!--头部开始-->
	<header>
		<i class="iconfont left_jt">&#xe65b;</i>
		<div class="title">添加地址</div>
	</header>
	<!--头部结束-->
	<!--列表开始-->
	<div style="margin-top:0.88rem;">
		<section class="edit_palce">
			<div class="edit_palce_item">
				<p>
					<span class="item_name">韩雪</span> 
					<span class="item_number">15035168587</span>
				</p>
				<p class="item_address">山西省 太原市 小店区 平阳街道 学府街滨东花园8号楼2单元1602室</p>
			</div>
			<div class="edit_box">
				<i class="iconfont xz">&#xe721;</i>
				<span class="fit">设为默认地址</span>
				<a href=""><div class="edit_btn del">删除</div></a>
				<a href=""><div class="edit_btn">编辑</div></a>
			</div>
		</section>
		<section class="edit_palce">
			<div class="edit_palce_item">
				<p>
					<span class="item_name">韩雪</span> 
					<span class="item_number">15035168587</span>
				</p>
				<p class="item_address">山西省 太原市 小店区 平阳街道 学府街滨东花园8号楼2单元1602室</p>
			</div>
			<div class="edit_box">
				<i class="iconfont xz">&#xe720;</i>
				<span class="fit">设为默认地址</span>
				<a href=""><div class="edit_btn del">删除</div></a>
				<a href=""><div class="edit_btn">编辑</div></a>
			</div>
		</section>
	</div>
	<!--列表结束-->
	<!--按钮开始-->
	<input class="add_btn" type="button" value="新增收货地址" />
	<!--按钮结束-->
	
</body>
<script>
	$(".xz").click(function(){
		$(".xz").html('&#xe720').removeClass("xz_1");
		$(this).html('&#xe721').addClass('xz_1');
	})
	var ep=$(".edit_palce");
	var arr=$(ep).length;
	if(arr==1){
		$(".xz").html('&#xe721').addClass("xz_1");
	}else if(arr>1){
		$(".xz").eq(0).html('&#xe721').addClass('xz_1');
	}
</script>
</html>

